package com.baizhi.service.ServiceImpl;

import com.baizhi.dao.AudioDao;
import com.baizhi.entity.Audio;
import com.baizhi.service.AudioService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2019/4/12.
 */
@Service
public class AudioServiceImpl implements AudioService {
    @Autowired
    private AudioDao audioDao;




    @Override
    public Map appselectAlbumparticulars(Integer albumId) {
        Map map=new HashMap();
        List<Audio> audios=audioDao.appselectAlbumparticulars(albumId);
        map.put("audios",audios);
        return map;
    }
}
